{load header}
<!--/H-->

<!-- 内容区 -->
<div id="main-content">
    <div id="top-alert" class="fixed alert alert-error" style="display: none;">
        <button class="close fixed" style="margin-top: 4px;">&times;</button>
        <div class="alert-content">这是内容</div>
    </div>
    <div id="main" class="main">
        <!-- nav --><!-- nav -->
        <div class="main-title">
            <h2>申诉详情（客服介入）</h2>
        </div>
        <div class="data-table">

            <div class="data-table table-striped">

                <form action="" method="post" class="form-horizontal">
                    <!-----table----->
                    <table class="table table-hover" style="width: 50%">
                        <thead>
                        <tr>
                        <th colspan="4" style="text-align: center">申诉信息（=={$appeal_info['status_val']}==）</th>
                        </tr>
                        </thead>
                        <tbody>
                        <tr>
                            <td width="70px">任务名称：</td>
                            <td width=""><a href="{$task_info['detail_url']}" target="_blank">{$task_info['title']}</a></td>
                            <td width="70px">发&nbsp;&nbsp;布&nbsp;&nbsp;人：</td>
                            <td width=""><span style="color:#00f;">{$task_info['publisher']}</span></td>
                        </tr>
                        <tr>
                            <td>领取时间：</td>
                            <td>{$subtask_info['add_time']}</td>
                            <td>申&nbsp;&nbsp;诉&nbsp;&nbsp;人：</td>
                            <td><span style="color:#f00;">{$appeal_info['initiator']}</span></td>
                        </tr>
                        <tr>
                            <td>提交时间：</td>
                            <td>{$subtask_info['receive_time']}</td>
                            <td>认证信息：</td>
                            <td>{$subtask_info['validate']}</td>
                        </tr>
                        <tr>
                            <td>审核时间：</td>
                            <td>{$subtask_info['check_time']}</td>
                            <td>审核意见：</td>
                            <td>{$subtask_info['suggestion']}</td>
                        </tr>
                        </tbody>
                    </table>
                    <!-----table----->
                    <table class="table table-hover" style="width: 50%">
                        <thead>
                        <tr>
                            <th colspan="4" style="text-align: center">申诉记录</th>
                        </tr>
                        </thead>
                        <tbody>
                        <tr>
                            <td width="70px">用户</td>
                            <td>内容</td>
                            <td>图片</td>
                            <td>时间</td>
                        </tr>
                        <!--{loop $comm_info $k1 $val}-->
                        <tr>
                            <td>{$val['username']}</td>
                            <td>{$val['content_word']}</td>
                            <td>
                                {if $val['content_img']}
                                    <img src="{$val['content_img']}"/>
                                {else}

                                {/if}
                            </td>
                            <td>{$val['add_time']}</td>
                        </tr>
                        <!--{/loop}-->
                        </tbody>
                    </table>

                    <div class="fl" style="width: 90%;margin-top:20px;border-top: 1px solid #ccc;">
                        <div class="form-item">
                            <label class="item-label">客服回复：<span class="check-tips"></span></label>
                            <div class="controls">
                                <textarea name="content_word" style="width:398px;height:95px;padding: 2px 5px 0px 5px;color: #7C7878;"></textarea>
                            </div>
                        </div>
                        <div class="form-item" style="margin-top:50px">
                            <input type="hidden" name="cid" value="{$appeal_info['cid']}">
                            {if $appeal_info['status'] == 0 || $appeal_info['status'] == 1}
                            <button class="btn submit-btn ajax-post" id="submit" type="submit" target-form="form-horizontal">回 复</button>
                            <a class="btn submit-btn confirm ajax-get" href="{eval echo site_url('taskplat/appealstatus').'?cid='.$appeal_info['cid'].'&status=2'}">成 功</a>
                            <a class="btn btn-return confirm ajax-get" href="{eval echo site_url('taskplat/appealstatus').'?cid='.$appeal_info['cid'].'&status=5'}">失 败</a>
                            {/if}
                            <button class="btn btn-return" onclick="javascript:history.back(-1);return false;">返 回</button>
                        </div>
                    </div>
                </form>

            </div>
        </div>

        <!--F-->{load footer}